package org.platform.executor.TimingDiagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41015.DelTimingTaskRequestParam;
import org.platform.mo.csmo.cmd41015.DelTimingTaskResponseParam;
import org.platform.service.diagnose.TimingDiagnoseTaskServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/18
 */
@Service
public class DelTimingTaskExecutor implements IMicProviderServiceExecutor<DelTimingTaskRequestParam, DelTimingTaskResponseParam> {
    @Autowired
    TimingDiagnoseTaskServiceImpl service;

    @Override
    public DelTimingTaskResponseParam doExecute(DelTimingTaskRequestParam requestParam) {
        return service.delTimingTask(requestParam);
    }
}
